<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>selector bug</title>
<style>
    .foo a {
    }
    .bar img {
        width: 2em;
    }
</style>
</head>
<body>
The SVG image below should be 500px x 300px.
<ul>
    <li><img src="data:image/svg+xml,%3Csvg%20style%3D%22background%3A%23DFD%22%20width%3D%22500px%22%20height%3D%22300px%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3C%2Fsvg%3E"></li>
</ul>
</body>
</html>
